package com.itany.nmms.service;

import com.itany.nmms.entity.Staff;
import com.itany.nmms.exception.CodeErrorException;
import com.itany.nmms.exception.RequestParameterErrorException;
import com.itany.nmms.exception.StaffNotExistException;

/**
 * Author:shixiaojun@itany.com
 * Date:2022/3/14 13:58
 * Version:1.0-SNAPSHOT
 */
public interface StaffService {

    /**
     * 员工登录
     * @param loginName
     * @param password
     * @param role
     * @param code
     * @param image
     * @return
     */
    public Staff login(String loginName,String password,String role,String code,String image) throws RequestParameterErrorException, CodeErrorException, StaffNotExistException;

}
